home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / SCSL / dlantb.z / dlantb
Encoding:
Text File  |  2002-10-03  |  4.7 KB  |  133 lines

  1.  
  2.  
  3.  
  4. DDDDLLLLAAAANNNNTTTTBBBB((((3333SSSS))))                                                          DDDDLLLLAAAANNNNTTTTBBBB((((3333SSSS))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      DLANTB - return the value of the one norm, or the Frobenius norm, or the
  10.      infinity norm, or the element of largest absolute value of an n by n
  11.      triangular band matrix A, with ( k + 1 ) diagonals
  12.  
  13. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  14.      DOUBLE PRECISION FUNCTION DLANTB( NORM, UPLO, DIAG, N, K, AB, LDAB, WORK
  15.                       )
  16.  
  17.          CHARACTER    DIAG, NORM, UPLO
  18.  
  19.          INTEGER      K, LDAB, N
  20.  
  21.          DOUBLE       PRECISION AB( LDAB, * ), WORK( * )
  22.  
  23. IIIIMMMMPPPPLLLLEEEEMMMMEEEENNNNTTTTAAAATTTTIIIIOOOONNNN
  24.      These routines are part of the SCSL Scientific Library and can be loaded
  25.      using either the -lscs or the -lscs_mp option.  The -lscs_mp option
  26.      directs the linker to use the multi-processor version of the library.
  27.  
  28.      When linking to SCSL with -lscs or -lscs_mp, the default integer size is
  29.      4 bytes (32 bits). Another version of SCSL is available in which integers
  30.      are 8 bytes (64 bits).  This version allows the user access to larger
  31.      memory sizes and helps when porting legacy Cray codes.  It can be loaded
  32.      by using the -lscs_i8 option or the -lscs_i8_mp option. A program may use
  33.      only one of the two versions; 4-byte integer and 8-byte integer library
  34.      calls cannot be mixed.
  35.  
  36. PPPPUUUURRRRPPPPOOOOSSSSEEEE
  37.      DLANTB returns the value of the one norm, or the Frobenius norm, or the
  38.      infinity norm, or the element of largest absolute value of an n by n
  39.      triangular band matrix A, with ( k + 1 ) diagonals.
  40.  
  41. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  42.      DLANTB returns the value
  43.  
  44.         DLANTB = ( max(abs(A(i,j))), NORM = 'M' or 'm'
  45.                  (
  46.                  ( norm1(A),         NORM = '1', 'O' or 'o'
  47.                  (
  48.                  ( normI(A),         NORM = 'I' or 'i'
  49.                  (
  50.                  ( normF(A),         NORM = 'F', 'f', 'E' or 'e'
  51.  
  52.      where  norm1  denotes the  one norm of a matrix (maximum column sum),
  53.      normI  denotes the  infinity norm  of a matrix  (maximum row sum) and
  54.      normF  denotes the  Frobenius norm of a matrix (square root of sum of
  55.      squares).  Note that  max(abs(A(i,j)))  is not a  matrix norm.
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. DDDDLLLLAAAANNNNTTTTBBBB((((3333SSSS))))                                                          DDDDLLLLAAAANNNNTTTTBBBB((((3333SSSS))))
  71.  
  72.  
  73.  
  74. AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  75.      NORM    (input) CHARACTER*1
  76.              Specifies the value to be returned in DLANTB as described above.
  77.  
  78.      UPLO    (input) CHARACTER*1
  79.              Specifies whether the matrix A is upper or lower triangular.  =
  80.              'U':  Upper triangular
  81.              = 'L':  Lower triangular
  82.  
  83.      DIAG    (input) CHARACTER*1
  84.              Specifies whether or not the matrix A is unit triangular.  = 'N':
  85.              Non-unit triangular
  86.              = 'U':  Unit triangular
  87.  
  88.      N       (input) INTEGER
  89.              The order of the matrix A.  N >= 0.  When N = 0, DLANTB is set to
  90.              zero.
  91.  
  92.      K       (input) INTEGER
  93.              The number of super-diagonals of the matrix A if UPLO = 'U', or
  94.              the number of sub-diagonals of the matrix A if UPLO = 'L'.  K >=
  95.              0.
  96.  
  97.      AB      (input) DOUBLE PRECISION array, dimension (LDAB,N)
  98.              The upper or lower triangular band matrix A, stored in the first
  99.              k+1 rows of AB.  The j-th column of A is stored in the j-th
  100.              column of the array AB as follows:  if UPLO = 'U', AB(k+1+i-j,j)
  101.              = A(i,j) for max(1,j-k)<=i<=j; if UPLO = 'L', AB(1+i-j,j)   =
  102.              A(i,j) for j<=i<=min(n,j+k).  Note that when DIAG = 'U', the
  103.              elements of the array AB corresponding to the diagonal elements
  104.              of the matrix A are not referenced, but are assumed to be one.
  105.  
  106.      LDAB    (input) INTEGER
  107.              The leading dimension of the array AB.  LDAB >= K+1.
  108.  
  109.      WORK    (workspace) DOUBLE PRECISION array, dimension (LWORK),
  110.              where LWORK >= N when NORM = 'I'; otherwise, WORK is not
  111.              referenced.
  112.  
  113. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  114.      INTRO_LAPACK(3S), INTRO_SCSL(3S)
  115.  
  116.      This man page is available only online.
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.